// X3DUMLv2PropPage.cpp : Implementation of the CX3DUMLv2PropPage property page class.

#include "stdafx.h"
#include "X3DUMLv2.h"
#include "X3DUMLv2PropPage.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


IMPLEMENT_DYNCREATE(CX3DUMLv2PropPage, COlePropertyPage)



// Message map

BEGIN_MESSAGE_MAP(CX3DUMLv2PropPage, COlePropertyPage)
END_MESSAGE_MAP()



// Initialize class factory and guid

IMPLEMENT_OLECREATE_EX(CX3DUMLv2PropPage, "X3DUMLV2.X3DUMLv2PropPage.1",
	0x2f99143, 0x4036, 0x4b26, 0x9a, 0x2, 0xb4, 0xe6, 0xac, 0x4a, 0xcb, 0xdf)



// CX3DUMLv2PropPage::CX3DUMLv2PropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CX3DUMLv2PropPage

BOOL CX3DUMLv2PropPage::CX3DUMLv2PropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_X3DUMLV2_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}



// CX3DUMLv2PropPage::CX3DUMLv2PropPage - Constructor

CX3DUMLv2PropPage::CX3DUMLv2PropPage() :
	COlePropertyPage(IDD, IDS_X3DUMLV2_PPG_CAPTION)
{
}



// CX3DUMLv2PropPage::DoDataExchange - Moves data between page and properties

void CX3DUMLv2PropPage::DoDataExchange(CDataExchange* pDX)
{
	DDP_PostProcessing(pDX);
}



// CX3DUMLv2PropPage message handlers
